﻿using System;
using System.Diagnostics;
using System.Collections;

namespace MikeKappel.Com.CS
{
    public static partial class SortingAlgorithms
    {
        public delegate Boolean PigeonholeDelegate(Int32 currentIndex, Int32 currentValue);

        /// <summary>
        /// This is a simple custom sorting algorithm I developed from scratch.
        /// It works good with small numbers and exponentially worse with large numbers.
        /// </summary>
        /// <param name="onSort">On value change method to fire</param>
        /// <param name="ittems">Array of Integers to sort</param>
        public static void PigeonholeSort(PigeonholeDelegate onSort, Int32[] items)
        {
           
        }
        public static void PigeonholeSort(Int32[] items)
        {
            PigeonholeSort(null, items);
        }
    }
}
